package com.ajmd.onlineexam.vo;

import com.ajmd.onlineexam.entity.ImagePO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author ajmd
 * @since 2023/4/28 15:05
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class TestPaperQuestionVO implements Serializable {
    //唯一标识
    private String id;
    //试卷id
    private String testPaperId;
    //题库试题id
    private String questionId;
    //排序
    private Integer sort;
    //分值
    private BigDecimal score;
    //是否有图片
    private Boolean hasPic;
    //图片列表
    private List<ImagePO> picList;
    //选项列表
    private List<OptionVO> optionList;
    //试题类型
    private Integer questionType;
    //试题内容
    private String content;
    //试题答案
    private String answer;
    //困难等级
    private Integer difficulty;
    //漏选得分（多选
    private Boolean allowMissing;
}
